package cn.fhkj.service;

import cn.fhkj.bean.ResultBean;
import cn.fhkj.entity.RenQiuZfPublicity;
import cn.fhkj.entity.RenQiuZfPublicityTypeLv2;
import cn.fhkj.entity.RenQiuZfUnit;
import cn.fhkj.vo.ReconsiderationVo;
import cn.fhkj.vo.RenQiuZfPublicityTypeLv2Vo;
import cn.fhkj.vo.RenQiuZfPublicityVo;

import java.text.ParseException;
import java.util.List;

public interface RenqiuZfService extends IService {
    ResultBean getRenQiuLv1();

    List<RenQiuZfPublicityTypeLv2Vo> getRenQiuLv2ByLv1(Integer index, Integer pageSize, Integer Lv1Id,Long unitId);

    List<RenQiuZfPublicityVo> getPublicityByL2Id(Integer index, Integer pageSize, Long lv2Id, Long Lv1Id) throws ParseException;


    ResultBean getTopping();


    List<RenQiuZfUnit> getUnit();

    List<RenQiuZfPublicity> search(String name,Integer index,Integer pageSize,Long Lv1Id,Long Lv2Id,Long unitId);

    List<RenQiuZfPublicityVo> dataProcessing(List<RenQiuZfPublicity> list) throws ParseException;

    ResultBean getPublicityContentByPublicityId(Long publicityId);

    ResultBean addReconsideration(ReconsiderationVo vo);

    RenQiuZfPublicity getPublicityById(Long publicityId);

    RenQiuZfUnit getUnitById(Long id);
}
